package org.example.module_login.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.module_login.entity.Teacher;
import org.example.module_login.utlis.R;

import javax.servlet.http.HttpServletResponse;

/**
 * 教师表(Teacher)表服务接口
 *
 * @author HAJ
 * @since 2025-03-03 15:14:34
 */
public interface TeacherService extends IService<Teacher> {

    /**
     * 登录
     * */
    R login(Teacher teacher, HttpServletResponse response);

    /**
     * 注册
     * */
    R register(Teacher teacher);

}

